package singleton.demo2;

public class MyRunnable implements Runnable{
    @Override
    public  void run() {
        JiFactory jiFactory = JiFactory.getInstance();
        System.out.println(Thread.currentThread().getName()+"获取到的鸡厂是:"+jiFactory);
    }
}
